package com.ideaaedi.zoo.diy.feature.file.api;

import com.ideaaedi.zoo.diy.feature.file.api.properties.ZooFileApiDIYGuideProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * file 自动配置
 */
@EnableConfigurationProperties({ZooFileApiDIYGuideProperties.class})
@ConditionalOnProperty(value = ZooFileApiAutoConfiguration.ENABLE, havingValue = "true", matchIfMissing = true)
public class ZooFileApiAutoConfiguration {

    public static final String ENABLE = "zoo.switch.feature-file-api.enable";

}